package  com.skin.onlineschool.usercenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

import com.spring4all.swagger.EnableSwagger2Doc;



@SpringBootApplication
@EnableEurekaClient
@EnableSwagger2Doc
@EnableAutoConfiguration
@ComponentScan(basePackages="com.skin.")
@MapperScan("com.skin.onlineschool.usercenter.mapper")
public class  UsercenterServiceApplication{
	
	public static void main(String[] args) {
		SpringApplication.run(UsercenterServiceApplication.class, args);
		System.out.println("usercenter启动成功！");
		
	}

}
